/*
 * intcr.h
 * Project 4
 * Nicole Ang (nang1@asu.edu)
 * Bijan Fakhri (bfakhri@asu.edu)
 * CSE 325: Embedded Microprocessor Systems
 * Spring 2013
 */

#ifndef ICR_H_
#define ICR_H_

#include "support_common.h"

typedef void (*isr_funct)(); //isr_funct is a type which is a pointer to a void function with no params

extern void intcr_config(int p_src, int p_level, int p_priority, isr_funct p_isr);
extern void intcr_unmask_src(int p_src);
#endif /* ICR_H_ */
